]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Add missing node type
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 8 Jan 2022 18:53:15 +0000 (19:53 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 11 Jan 2022 20:10:57 +0000 (20:10 +0000)
Spotted in the error logs of
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2040

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2089>

.gitlab-ci/check-potfiles.js

index e89c5adb65175b79a379822f3912cf7e69c4c24b..28448f874c82817521fefb35d75d78316870ed9c 100644 (file)
@@ -87,6 +87,7 @@ function nodesToWalk(node) {
         return node.body;
     case 'CallExpression':
     case 'NewExpression':
+    case 'OptionalCallExpression':
     case 'TaggedTemplate':
         return [node.callee, ...node.arguments];
     case 'CatchClause':